package com.kingsoft.miot.bridge.controller.req;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Email;

/**
 * 新建管理员 表单
 * 
 * @author HUJIANQING
 *
 */
public class ManagerFormReq {

	@Email(message = "邮件不合法")
	private String manager;
	// 角色等级
	private int level;

	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

//	@NotNull(message="手机号码不能为空")
//	private long mobile;
	// 创建时间
//	@NotNull
//	private long create_time;
	@NotNull
	private int area_id;
	@NotNull
	private int hotel_id;
//	@NotNull
//	private Map<String, Object> permission;

	public int getArea_id() {
		return area_id;
	}

	public void setArea_id(int area_id) {
		this.area_id = area_id;
	}

	public int getHotel_id() {
		return hotel_id;
	}

	public void setHotel_id(int hotel_id) {
		this.hotel_id = hotel_id;
	}

}
